<div class="" ng-init="$ctrl.init()"><div class="input-group"><input id="{{$ctrl.id}}" type="file" class="form-control" accept="application/zip" ngf-select="$ctrl.selectFile($files)" data-files="file.files"> <button class="btn btn-primary text-white" id="{{$ctrl.id}}_addon" ng-if="$ctrl.file" ng-click="$ctrl.uploadFile($ctrl.file)" type="button">Upload</button></div></div>